how to add javascript on the page